﻿<UserControl x:Class="DienLib.PopUp.PopUpConfirmReplace"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="278" d:DesignWidth="500" BorderBrush="{x:Null}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Foreground="White" ClipToBounds="False" Width="452" Height="Auto">
    <Border BorderThickness="2" Height="Auto" Name="border1" Width="Auto" Background="#FFF14A4A" Margin="0" Padding="0" MinWidth="0" MinHeight="0" CornerRadius="10" ClipToBounds="True" BorderBrush="Black">
        <StackPanel Height="Auto" Name="stackPanel1" Width="Auto" Margin="7">
            <TextBlock Height="Auto" Name="tblTitle" Text="CONFIRM FILE REPLACE - HalReport" Margin="0,0,0,5" FontWeight="Bold" FontSize="13" />
            <Border BorderBrush="Black" BorderThickness="1" Height="Auto" Name="border2" Width="Auto">
                <StackPanel Background="#FFF5F5C3" Height="Auto" Name="stackPanel2" Width="Auto">
                    <TextBlock FontWeight="Normal" Foreground="#FF0C76BA" Height="Auto" Margin="10" Name="tblComment" Text="The Destination already contains a file named &quot;IMG2489.JPG&quot;" TextWrapping="Wrap" />
                    <Grid Margin="10,0" Name="grid1">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="80" />
                            <ColumnDefinition Width="50" />
                            <ColumnDefinition Width="342*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="20" />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Margin="0" Name="textBlock11" Padding="0" Text="Existing File :" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" />
                        <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Grid.Row="2" Height="Auto" Margin="0" Name="textBlock12" Padding="0" Text="New File :" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" />
                        <Border BorderBrush="Silver" BorderThickness="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,20,0,0" Name="border3" VerticalAlignment="Stretch" Width="Auto">
                            <Viewbox Height="Auto" Name="thumbE" Width="Auto" />
                        </Border>
                        <Border BorderBrush="Silver" BorderThickness="1" Grid.Row="2" Height="Auto" HorizontalAlignment="Stretch" Margin="0,20,0,0" Name="border4" Padding="0" VerticalAlignment="Stretch" Width="Auto">
                            <Viewbox Height="Auto" Name="thumbN" Width="Auto" />
                        </Border>
                        <StackPanel Grid.Column="2" Height="Auto" HorizontalAlignment="Stretch" Margin="0" Name="stackPanel3" VerticalAlignment="Top" Width="Auto">
                            <WrapPanel Height="Auto" Margin="0" Name="wrapPanel5" Width="Auto">
                                <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Margin="2,0,2,2" Name="textBlock4" Padding="0" Text="Name :" TextAlignment="Left" TextWrapping="NoWrap" Width="42" />
                                <TextBlock FontSize="11" FontWeight="Normal" Foreground="Black" Height="Auto" Margin="2,0,0,2" Name="tblNameE" Padding="0" Text="IMG2489.JPG" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" />
                            </WrapPanel>
                            <WrapPanel Height="Auto" Margin="0" Name="wrapPanel2" Width="Auto">
                                <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Margin="2" Name="textBlock3" Padding="0" Text="Size :" TextAlignment="Left" TextWrapping="NoWrap" Width="42" />
                                <TextBlock FontSize="11" FontWeight="Bold" Foreground="Black" Height="Auto" Margin="2" Name="tblSizeE" Padding="0" Text="664 KB (680,199 bytes)" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" />
                            </WrapPanel>
                            <WrapPanel Height="Auto" Margin="0" Name="wrapPanel3" Width="Auto">
                                <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Margin="2" Name="textBlock5" Padding="0" Text="Date :" TextAlignment="Left" TextWrapping="NoWrap" Width="42" />
                                <TextBlock FontSize="11" FontWeight="Bold" Foreground="Black" Height="Auto" Margin="2" Name="tblDateE" Padding="0" Text="3/05/2002 6:52:54 AM" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" />
                            </WrapPanel>
                            <WrapPanel Height="Auto" Margin="0" Name="wrapPanel4" Width="Auto">
                                <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Margin="2,2,2,0" Name="textBlock6" Padding="0" Text="Desc :" TextAlignment="Left" TextWrapping="NoWrap" Width="42" />
                                <TextBlock FontSize="11" FontWeight="Normal" Foreground="Black" Height="Auto" Margin="2" Name="tblDescE" Padding="0" Text="1600 x 1200 x 24 JPEG Image" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" />
                            </WrapPanel>
                        </StackPanel>
                        <StackPanel Grid.Column="2" Grid.Row="2" Height="Auto" HorizontalAlignment="Stretch" Margin="0" Name="stackPanel4" VerticalAlignment="Top" Width="Auto">
                            <WrapPanel Height="Auto" Name="wrapPanel7" Width="Auto">
                                <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Margin="2,0,2,2" Name="textBlock13" Padding="0" Text="Name :" TextAlignment="Left" TextWrapping="NoWrap" Width="42" />
                                <TextBox Background="White" BorderBrush="Blue" Height="Auto" Margin="2,0,0,2" Name="tbNameN" Padding="0" Text="IMG2489.JPG" Width="234" />
                            </WrapPanel>
                            <WrapPanel Height="Auto" Name="wrapPanel8" Width="Auto">
                                <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Margin="2" Name="textBlock14" Padding="0" Text="Size :" TextAlignment="Left" TextWrapping="NoWrap" Width="42" />
                                <TextBlock FontSize="11" FontWeight="Bold" Foreground="Black" Height="Auto" Margin="2" Name="tblSizeN" Padding="0" Text="664 KB (680,199 bytes)" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" />
                            </WrapPanel>
                            <WrapPanel Height="Auto" Name="wrapPanel9" Width="Auto">
                                <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Margin="2" Name="textBlock15" Padding="0" Text="Date :" TextAlignment="Left" TextWrapping="NoWrap" Width="42" />
                                <TextBlock FontSize="11" FontWeight="Bold" Foreground="Black" Height="Auto" Margin="2" Name="tblDateN" Padding="0" Text="3/05/2002 6:52:54 AM" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" />
                            </WrapPanel>
                            <WrapPanel Height="Auto" Name="wrapPanel10" Width="Auto">
                                <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Margin="2,2,2,0" Name="textBlock16" Padding="0" Text="Desc :" TextAlignment="Left" TextWrapping="NoWrap" Width="42" />
                                <TextBlock FontSize="11" FontWeight="Normal" Foreground="Black" Height="Auto" Margin="2" Name="tblDescN" Padding="0" Text="1600 x 1200 x 24 JPEG Image" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" />
                            </WrapPanel>
                        </StackPanel>
                        <GridSplitter Background="Green" Grid.Column="2" Grid.Row="1" Height="3" HorizontalAlignment="Stretch" Margin="0" Name="gridSplitter1" VerticalAlignment="Center" Width="Auto" />
                        <GridSplitter Background="Green" Grid.Column="1" Height="Auto" HorizontalAlignment="Right" Margin="0,0,10,0" Name="gridSplitter2" VerticalAlignment="Stretch" Width="3" />
                        <GridSplitter Background="Green" Grid.Column="1" Grid.Row="2" Height="Auto" HorizontalAlignment="Right" Margin="0,0,10,0" Name="gridSplitter3" VerticalAlignment="Stretch" Width="3" />
                        <GridSplitter Background="Green" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Right" Margin="0,0,10,0" Name="gridSplitter4" VerticalAlignment="Stretch" Width="3" />
                    </Grid>
                    <WrapPanel Height="Auto" HorizontalAlignment="Right" Margin="0,0,10,0" Name="wrapPanel1" VerticalAlignment="Center" Width="Auto">
                        <Button BorderThickness="0" Click="button1_Click" Content="REPLACE" FlowDirection="LeftToRight" FontSize="12" FontWeight="Bold" Height="23" HorizontalAlignment="Center" Margin="0,10,10,10" Name="button1" VerticalAlignment="Center" Width="100">
                            <Button.Foreground>
                                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                    <GradientStop Color="Black" Offset="0" />
                                    <GradientStop Color="#FFAF0000" Offset="1" />
                                </LinearGradientBrush>
                            </Button.Foreground>
                        </Button>
                        <Button BorderThickness="0" Click="button2_Click" Content="CANCEL" FlowDirection="LeftToRight" FontSize="12" FontWeight="Bold" Height="23" HorizontalAlignment="Center" IsDefault="True" Margin="10,10,0,10" Name="button2" VerticalAlignment="Center" Width="100">
                            <Button.Foreground>
                                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                    <GradientStop Color="#FF2BA7A7" Offset="0" />
                                    <GradientStop Color="#FF025EAD" Offset="1" />
                                </LinearGradientBrush>
                            </Button.Foreground>
                        </Button>
                    </WrapPanel>
                </StackPanel>
            </Border>
            <Image Height="0" Name="image1" Stretch="Fill" Width="1" />
        </StackPanel>
    </Border>
</UserControl>
